package cn.tedu.charging.order.mqtt;

import cn.tedu.charging.order.dao.mapper.ChargingBillFailMapper;
import cn.tedu.charging.order.dao.mapper.ChargingBillSuccessMapper;
import cn.tedu.charging.order.websocket.WebSocketServer;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;
@Data
@Component
public class MqttContext {
    //成功
    @Autowired
    private ChargingBillSuccessMapper chargingBillSuccessMapper;
    //写失败的订单
    @Autowired
    private ChargingBillFailMapper chargingBillFailMapper;
    @Autowired
    private RedisTemplate  redisTemplate;
    @Autowired
    private WebSocketServer  webSocketServer;
}
